<?php
class SGN_Gatekeeper_Abstract
{
    protected $controller;
    protected $action;
    
    public $activeFeature = false;
    
    public function __construct($request)
    {
        //check whether or not existed feature
        $this->controller = $request->getControllerName();
        $this->action = $request->getActionName();
        $hashFeature = md5( $this->controller . $this->action);
        
        $info = Application_Model_SGN_GateKeeper::getHashFeatureData($hashFeature);
        $this->activeFeature = $info['active'];
    }
    
    public function checkRule()
    {}
}